package de.tum.in.eist.poll.shared.beans;
/**
 * Provided by the EIST team
 */

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Representation of an abstract user.
 */
public abstract class User implements IsSerializable {
	
	/**
	 * The user's unique name.
	 */
	private String userID;
	
	/**
	 * The user's password.
	 */
	private String password;
	
	/**
	 * Default zero-argument constructor.
	 */
	public User() {
	}
	
	/**
	 * @param userID {@link #userID}
	 * @param password {@link #password}
	 */
	public User(String userID, String password) {
		this.userID = userID;
		this.password = password;
	}
	
	/**
	 * @return the {@link #userID}.
	 */
	public String getUserID() {
		return userID;
	}
	
	/**
	 * @return the {@link #password}.
	 */
	public String getPassword() {
		return password;
	}
	
}

